# -*- coding: utf-8 -*-
# @File    : api_constant.py
# @Author  : Xiewh
# @Email   : 1679860867@qq.com
# @Time    : 2020/11/28 18:42
# @Function:

# 服务端API
SERVICE_VERSION_API = "api/version/python"

# 服务端群group授权查询
SERVICE_GROUP_SQ_API = "api/yiban/group_id"

# 服务端 下载
SERVICE_APP_UPDATE = "api/version/download"

# 易班登录API接口
YIBAN_PASSPORT_LOGIN = "api/v2/passport/login"

# 易班接口登录接口 web_accesstoken_login_url
YIBAN_TOKEN_LOGIN = "login/accessTokenLogin"

# 易班获取验证码
YIBAN_CAPTCHA = "captcha/index"

# 易班获取群
YIBAN_GROUP_LIST = "ajax/group/getJoined"

# 易班获取群2 手机易班 参数 my_group_type=0&num=40&access_token=
YIBAN_GROUP_LIST_2 = "api/v2/groups/mygroups"

# 易班EGPA获取
YIBAN_GROUP_EGPA = "api/v1/groups/"  # + GROUP_ID

# 易班获取投票列表
YIBAN_VOTE_LIST = "vote/index/getVoteList"

# 易班发起投票
YIBAN_VOTE_ADD = "vote/vote/add"

# 易班投票 投票
YIBAN_VOTE_ACT = "vote/vote/act"

# 易班投票 点赞
YIBAN_VOTE_EDITLOVE = "vote/vote/editLove"

# 易班投票 评论
YIBAN_VOTE_ADDCOMMENT = "vote/vote/addComment"
